import Home from './views/Home.vue'

const routes = [
  {
    path: '/',
    name: 'Home',
    component: Home
  },
  {
    path: '/home/index',
    name: 'index',
    component: () => import('./views/Home.vue')
  },
  {
    path: '/dashboard/:id',
    name: 'dashboard',
    component: () => import('./views/Dashboard.vue')
  },
  {
    path: '/page2',
    name: 'page2',
    component: () => import('./views/page2.vue')
  },
  {
    path: '/admin/usage',
    name: 'usage',
    component: () => import('./views/Usage.vue')
  },
  {
    path: '/ctq',
    name: 'supply',
    component: () => import('./views/Supply.vue')
  }
]

export default routes
